package com.test.security;

import java.io.Serializable;

public class Principal implements Serializable {

    private static final long serialVersionUID = -6577595270150512805L;

    private String id;
    private String userName;
    private String trueName;
    private String email;
    private boolean superUser;

    public Principal(String id, String userName, String trueName, String email) {
        this.id = id;
        this.userName = userName;
        this.trueName = trueName;
        this.email = email;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTrueName() {
        return trueName;
    }

    public void setTrueName(String trueName) {
        this.trueName = trueName;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public boolean isSuperUser() {
        return superUser;
    }

    public void setSuperUser(boolean superUser) {
        this.superUser = superUser;
    }

}
